@todo-today-color: #465efc;

:host {
  background-color: whitesmoke;
}

i.anticon {
  font-size: 19px !important;
  padding: 12px;
}

.todo {
  background-color: white;
  font-weight: lighter;
  padding: 15px 10px;
  box-shadow: 0 0 2px rgba(146, 146, 146, 0.2);

  i {
    display: inline-block;
    height: 24px;
    width: 24px;
    cursor: pointer;
    margin: 0 5px 0 10px;
    vertical-align: sub;
  }

  i.check {
    background: url("../../../assets/imgs/check_default.png") no-repeat;

    &:hover {
      background: url("../../../assets/imgs/check_hover.png") no-repeat;
    }
  }

  i.checked {
    background: url("../../../assets/imgs/check_on.png") no-repeat;
  }

  .todo-text {
    font-size: 25px;
  }
}

.detail {
  padding: 15px;

  &>div {
    box-shadow: 0 0 3px rgba(146, 146, 146, 0.2);
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;

    &:hover {
      background: whitesmoke;
    }
  }

  .myday, .reminder, .deadline {
    background-color: white;
    padding: 15px 20px;
    position: relative;

    &.group-top {
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0;
    }
    &.group-bottom {
      border-top-right-radius: 0;
      border-top-left-radius: 0;
      margin-top: -14px;
    }

    .icon {
      width: 25px;
      height: 25px;
      display: inline-block;
      vertical-align: middle;
      margin-right: 3px;
    }

    .text {
      position: absolute;
      top: 17px;
      left: 53px;

      &.today {
        color: @todo-today-color;
      }
    }
  }

  .notes {
    textarea {
      max-width: 330px;
      min-width: 330px;
      width: 330px;
      border: none;
      border-radius: 5px;
      padding: 10px 20px;
    }
  }
}

.footer {
  background-color: white;
  font-weight: lighter;
  font-size: 15px;
  position: absolute;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -1px 0 rgba(146, 146, 146, 0.2);

  span {
    margin-left: 50px;
  }

  i {
    cursor: pointer;

    &:hover {
      background-color: whitesmoke;
    }

    &:last-child {
      float: right;
      margin-top: 2px;
    }
  }
}
